﻿using RapChieuPhim.DAO;
using RapChieuPhim.DTO;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace RapChieuPhim.BUS
{
    class CTPhongChieuBUS
    {

        public static DataTable GetAll(int maphim)
        {
            CTPhongChieuDAO ctrDAO = new CTPhongChieuDAO();
            return ctrDAO.GetAll(maphim);
        }

        public static void Insert(CTPhongChieuDTO CTPhongChieu)
        {
            CTPhongChieuDAO ctrDAO = new CTPhongChieuDAO();
            ctrDAO.Insert(CTPhongChieu);
        }

        public static void Delete(int phong, int phim)
        {
            CTPhongChieuDAO ctrDAO = new CTPhongChieuDAO();
            ctrDAO.Delete(phong, phim);
        }
    }
}
